import request from '@/utils/request'
import qs from 'qs'

export function getList(username,current,size) {
  return request.get("/sys/user/list",{params:{username,current,size}})
}

export function repass(id) {
  return request.post("/sys/user/repass/"+id)
}

export function reVX(id) {
  return request.post("/sys/user/reVX/"+id)
}

export function  login(form){
  return request.post("/login?" + qs.stringify(form))
}

export function  logout(){
  return request.post("/logout")
}

